package com.shixun.milktea.mapper;


import com.shixun.milktea.entity.Order;
import com.shixun.milktea.entity.Sort;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
public interface SortMapper extends BaseMapper<Sort> {
    List<Sort> findAllSortAndMt();
    public Integer addSort(@Param("sort") Sort sort);
    List<Sort> findAllSort();
    Sort findSortById(@Param("sortId") Integer sortId);
    int updateSortById(@Param("sort") Sort sort);

    List<Integer> selectAllSortId();
}
